﻿@model IEnumerable<NormReference.Models.CourseEvaluation>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            surveyname
        </th>
        <th>
            dateStart
        </th>
        <th>
            dateClose
        </th>
        <th>
            crsnum
        </th>
        <th>
            crsname
        </th>
        <th>
            department
        </th>
        <th>
            division
        </th>
        <th>
            crs_dir
        </th>
        <th>
            resp_fac
        </th>
        <th>
            gender
        </th>
        <th>
            core1
        </th>
        <th>
            core2
        </th>
        <th>
            core3
        </th>
        <th>
            core4
        </th>
        <th>
            core5
        </th>
        <th>
            core6
        </th>
        <th>
            core7
        </th>
        <th>
            core8
        </th>
        <th>
            core9
        </th>
        <th>
            core10
        </th>
        <th>
            core11
        </th>
        <th>
            core12
        </th>
        <th>
            core13
        </th>
        <th>
            core14
        </th>
        <th>
            core15
        </th>
        <th>
            core16
        </th>
        <th>
            core17
        </th>
        <th>
            core18
        </th>
        <th>
            core19
        </th>
        <th>
            core20
        </th>
        <th>
            core21
        </th>
        <th>
            core22
        </th>
        <th>
            core23
        </th>
        <th>
            core24
        </th>
        <th>
            core25
        </th>
        <th>
            core26
        </th>
        <th>
            core27
        </th>
        <th>
            core28
        </th>
        <th>
            core29
        </th>
        <th>
            core30
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.surveyname)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.dateStart)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.dateClose)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.crsnum)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.crsname)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.department)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.division)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.crs_dir)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.resp_fac)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.gender)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core1)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core2)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core3)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core4)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core5)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core6)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core7)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core8)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core9)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core10)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core11)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core12)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core13)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core14)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core15)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core16)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core17)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core18)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core19)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core20)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core21)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core22)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core23)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core24)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core25)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core26)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core27)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core28)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core29)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.core30)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.ID }) |
            @Html.ActionLink("Details", "Details", new { id=item.ID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.ID })
        </td>
    </tr>
}

</table>
